package rad.framework.validator;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import org.hibernate.validator.ValidatorClass;

/**
 * @author Chunyun Zhao
 */
@Documented
@ValidatorClass(StrongPasswordValidator.class)
@Target( { ElementType.TYPE, ElementType.FIELD, ElementType.METHOD })
@Retention(RUNTIME)
public @interface StrongPassword {
	String message() default "The password should be a minimum of 6 characters with at least one special or numeric character.";	
}
